package com.xc.xcoj.judge.codesandbox;

import com.xc.xcoj.judge.codesandbox.model.ExecuteCodeRequest;
import com.xc.xcoj.judge.codesandbox.model.ExecuteCodeResponse;

/**
 * @author zqx
 * @since 2024/10/20
 */
public interface CodeSandbox {


    /**
     * 执行代码
     * @param executeCodeRequest
     * @return
     */
    ExecuteCodeResponse executeCode(ExecuteCodeRequest executeCodeRequest);


    /**
     * 沙箱类型
     */
    String CodeSandboxType();
}
